<!DOCTYPE html>
<html>
<title>fullScreen-全屏设置</title>

<head>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta charset="UTF-8">
</head>
<body>

<h1>全屏JavaScript </h1>

<p>单击"打开全屏"按钮以全屏模式打开此页面。 通过单击键盘上的" Esc"键或使用"关闭全屏"按钮将其关闭：</p>

<button id="btnFull">打开全屏</button>

<button id="btnClose">关闭全屏</button>


</body>
<script src="../../../js/util/fullScreen.js"></script>

<script>

    document.getElementById('btnFull').onclick =openFullscreen;
    document.getElementById('btnClose').onclick =closeFullscreen;

</script>

</html>